package com.fbs.job.admin.core.router.strategy;

import com.fbs.job.admin.core.router.ExecutorRouter;
import com.fbs.job.core.biz.model.TriggerParam;
import com.fbs.job.core.model.ResultT;

import java.util.List;

public class ExecutorRouteFirst extends ExecutorRouter {
    @Override
    public ResultT<String> route(TriggerParam triggerParam, List<String> addressList) {
        return ResultT.success(addressList.get(0));
    }
}
